package com.welike.shibo.eneity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

/**
 * Created by fangyu on 2019-09-09.
 */
@Data
@TableName(value = "push")
public class Push {
    /**
     * 主键
     */
    @JsonIgnore
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 用户id
     */
    @TableField(value = "uid")
    private String uid;

    /**
     * 赞开关1-开，0-关
     */
    @TableField(value = "zan")
    private Boolean zan;

    /**
     * 关注开关1-开，0-关
     */
    @TableField(value = "follow")
    private Boolean follow;

    /**
     * 评论开关1-开，0-关
     */
    @TableField(value = "comment")
    private Boolean comment;

    public static final String COL_ID = "id";

    public static final String COL_UID = "uid";

    public static final String COL_ZAN = "zan";

    public static final String COL_FOLLOW = "follow";

    public static final String COL_COMMENT = "comment";
}